package com.srmt.spring.annotation;

import com.srmt.spring.autoconfigure.DocumentAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用 Document Service 自动配置
 * 
 * <p>使用此注解可以快速启用文档服务功能：</p>
 * <pre>
 * {@code
 * @SpringBootApplication
 * @EnableDocumentService
 * public class Application {
 *     public static void main(String[] args) {
 *         SpringApplication.run(Application.class, args);
 *     }
 * }
 * }
 * </pre>
 * 
 * @author SRMT Development Team
 * @since 2.0.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(DocumentAutoConfiguration.class)
public @interface EnableDocumentService {
}